﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NewDDSys.Entity;
using NewDDSys.Factory;
using NewDDSys.IBLL;
using System.Data;


namespace NewDDSys.BLL
{
    public class LkcdtBLL:ILkcdtBLL
    {
        public int Add(LkcdtInfo dt)
        {
            return DALFactory.CreateLkcdtDAL().Add(dt);
        }
        public int Update(string dtnum, decimal kn, decimal knwj, decimal dk, decimal dkwj)
        {
            return DALFactory.CreateLkcdtDAL().Update(dtnum, kn, knwj, dk, dkwj);
        }
        public int UpdateKN(string dtnum, decimal kn)
        {
            return DALFactory.CreateLkcdtDAL().UpdateKN(dtnum, kn);
        }
        public int UpdateKNWJ(string dtnum, decimal knwj)
        {
            return DALFactory.CreateLkcdtDAL().UpdateKNWJ(dtnum, knwj);
        }
        public int UpdateDK(string dtnum, decimal dk)
        {
            return DALFactory.CreateLkcdtDAL().UpdateDK(dtnum, dk);
        }
        public int UpdateDKWJ(string dtnum, decimal dkwj)
        {
            return DALFactory.CreateLkcdtDAL().UpdateDKWJ(dtnum, dkwj);
        }
        public int Del(string dtnum)
        {
            return DALFactory.CreateLkcdtDAL().Del(dtnum);
        }
        public DataSet Select(string dtnum)
        {
            return DALFactory.CreateLkcdtDAL().Select(dtnum);
        }
        public DataSet SelectAll(string ku)
        {
            return DALFactory.CreateLkcdtDAL().SelectAll(ku);
        }
        public DataSet SelectPG(string ku)
        {
            return DALFactory.CreateLkcdtDAL().SelectPG(ku);
        }
        public string KuKC(string cday, string ku)
        {
            return DALFactory.CreateLkcdtDAL().KuKC(cday, ku);
        }
        public string WJK(string cday)
        {
            return DALFactory.CreateLkcdtDAL().WJK(cday);
        }
        public string ZKC(string cday)
        {
            return DALFactory.CreateLkcdtDAL().ZKC(cday);
        }
    }
}
